﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> {$pro['pro_name']}_产品中心_{$sinfo['inf_name']} </title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="{$pro['pro_name']},{:implode(',',$pro['pro_keywords'])}" />
<meta name="description" content="{$pro['content']|80}" />
<!--{include js.html}-->
<script>
	$(document).ready(function(){
		$(".navImages").bind('click', function(){
			var url = $(this).attr('src').replace('_thumb','');
			$("#previewLink").attr('href',url);
			$("#preview").attr('src',url);
		});

	});
</script>
</head>

<body>
<div id="container">
	<!--{include top.html}-->
	<!-- LeftBar -->
	<div id="leftBar">
		<div class="menu">
			<div class="title">
				<p><a href="{:parse_uri('pro-index|true')}" target="_blank" title="产品分类">产品搜索</a></p>
			</div>
			<ul class="nav">
				<li style="padding-bottom:9px;padding-top:2px;">关键字: <input type="text" style="width:80px" name="k" id="k"/> <img class="search" src="{themes}/images/search.gif" onclick="search()" /></li>
			<ul>
		</div>
		<div class="clear"></div>
		<div class="menu">
				<div class="title">
			<p>产品导航
			<a href="{:parse_uri('pro-index|true')}" target="_blank" title="更多"><span class="more">更多</span></a></p>
		</div>
		<ul class="nav cat">
			{foreach $cates $k $v}
			<li><a href="{:parse_uri('pro-cat-id-%d|true',$v['Id'])}">{$v['cat_name']}</a></li>
				{foreach $v['sub'] $subk $subv}
					<li class='sub'>{if $subk === 0 && sizeof($v['sub'])!=1}┌{else if $subk == (sizeof($v['sub'])-1)}└{else}├{/if} <a href="{:parse_uri('pro-cat-id-%d|true',$subv['Id'])}">{$subv['cat_name']}</a></li>
				{/foreach}
			{/foreach}
		<ul>
	</div>
	<div class="clear"></div>
	<div class="menu">
		<div class="title">
			<p>产品标签
			<a href="{:parse_uri('pro-index|true')}" target="_blank" title="更多"><span class="more">更多</span></a></p>
		</div>
		<div class="tag-div">
		<div class="clear"></div>
		<!--{foreach $tags $k $v}-->
			<div class='tag-block'><a href="{:parse_uri('tag-v-key-%s',$v['tag_name'])}" title="{$v['tag_name']}">{$v['tag_name']}</a></div>
		<!--{/foreach}-->
		<div class="clear"></div>
		</div>
	</div>
	</div>
	<!--/LeftBar -->
	<!--/RightBar -->
	<div id="rightBar">
		<div class="row">
			<div class="pro_show">
				<p class="tab_title">产品信息</p>
				<div class="content" style="background:#fff;text-indent:0;">
					<div id="imageViewer">
						<a id="previewLink" href="{if $pro['pro_pic']}{__HOST__}/{$pro['pro_pic']} {else}{themes}/images/nopic.gif{/if}" target="_blank" title="点击查看大图"><img id="preview" border=0 src="{if $pro['pro_pic']}{__HOST__}/{$pro['pro_pic']} {else}{themes}/images/nopic.gif{/if}" width="360" height="270"/></a>
					</div>

					<div id="imageNav">
						<p class="pro-name">{$pro['pro_name']}</p>
						<p class="pro-info">标&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;签:&nbsp;&nbsp; 
							<!--{foreach $pro['pro_tags'] $k $v}-->
							<a href="{:parse_uri('tag-v-key-%s',$v)}"><span class="pro-tag">{$v}</span></a>
							<!--{/foreach}-->
						</p>
						<p class="pro-info">关&nbsp;键&nbsp;字: &nbsp;&nbsp;
							<!--{foreach $pro['pro_keywords'] $k $v}-->
								<a href="{:parse_uri('search-v-key-%s',$v)}"><span class="pro-kywords">{$v}</span></a>
							<!--{/foreach}-->
						</p>
						<p class="pro-info">产品类别:&nbsp;&nbsp; <a href="{:parse_uri('pro-cat-id-%d',$pro['cat_id'])}"><span>{$pro['cat_name']}</span></a></p>
						<p class="pro-info">录入日期&nbsp;&nbsp; <span class="pro-text">{:date('Y-m-d',$pro['pro_dateline'])}</span>
							&nbsp;&nbsp;浏览:&nbsp;&nbsp;{$views}
						</p>
                        <!--
						<p class="pro-info">产品简介:&nbsp;&nbsp;
						
						</p>
						<p class="pro-text" style="padding-left:10px;color:#888;text-indent:10px;">
								{$pro['content']|140}
                                </p>
                                -->
					</div>
					<div class="clear"></div>
					<!--{if $pro['pics']}-->
					<div class="pro-img-nav" style="overflow:auto; _height:1%">
						<!--{foreach $pro['pics'] $k $v}-->
						<div class="pro-img">
							<img class="navImages" src="{__HOST__}/{:timg($v['pic'])}" alt="{$v['alb_des']}" title="{$v['alb_des']}"/>
						</div>
						<!--{/foreach}-->
						<div class="clear"></div>
					</div>
					<!--{/if}-->
					<div class="clear"></div>
					
                    <!--
				<div class="pro-attr">
					<div class="pro-title">产品属性</div>
					<table width="100%" style="margin-top:10px;" cellpadding="0" cellspacing="0">
					<!--{foreach $pro['attr']['key'] $k $v}-->
						<tr {if ($k+1) % 2 === 0}class='pro-tr'{/if}>
							<td class="attr-title">{$v} :</td>
							<td class="attr-val">{$pro['attr']['val'][$k]}</td>
						</tr>
					<!--{/foreach}-->
					</table>
                </div>
                -->
				<div class="pro-attr">
					<div class="pro-title">产品介绍</div>
					<div class="pro-content">
						{$pro['content']|html}
					</div>
				</div>
				</div>

			</div>
		</div>
		<div class="clear"></div>
	</div>
	<!--/RightBar -->
	<!--{include bottom.html}-->
</div>
</body>
</html>
